/**
 * 
 */
package cn.com.innodev.withyou.business.api.topic;

import java.util.ArrayList;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;

import com.vanstone.fs.weedfs.WeedFSFile;

import cn.com.innodev.withyou.business.api.crm.AbstractUser;
import cn.com.innodev.withyou.business.api.topic.core.AbstractDocument;

/**
 * @author shipeng <br />
 *         问题
 */
public class Question extends AbstractDocument {

  private static final long serialVersionUID = -537142057584352127L;

  /** 发布者 */
  private AbstractUser user;
  /** 问题内容 */
  private String content;
  /** 备注 */
  private String remark;
  /** 标签 */
  private Set<String> tagnames = new LinkedHashSet<>();
  /** 点击量 */
  private long clickcount = 0;
  /** 答案量 */
  private long answercount = 0;
  /** 已删除 */
  private boolean deletedable = false;
  /** 关注数量 */
  private long followcount = 0;
  /** 前100名关注者 */
  private List<AbstractUser> topFollowusers = new ArrayList<>();
  /** 图片文件，最多6张图片 */
  private List<WeedFSFile> imageFiles = new ArrayList<>();
  /** 是否已删除 */
  private boolean deleted = false;

  public String getRemark() {
    return remark;
  }

  public void setRemark(String remark) {
    this.remark = remark;
  }

  public AbstractUser getUser() {
    return user;
  }

  public void setUser(AbstractUser user) {
    this.user = user;
  }

  public long getFollowcount() {
    return followcount;
  }

  public void setFollowcount(long followcount) {
    this.followcount = followcount;
  }

  public long getClickcount() {
    return clickcount;
  }

  public void setClickcount(long clickcount) {
    this.clickcount = clickcount;
  }

  public long getAnswercount() {
    return answercount;
  }

  public void setAnswercount(long answercount) {
    this.answercount = answercount;
  }

  public boolean isDeletedable() {
    return deletedable;
  }

  public void setDeletedable(boolean deletedable) {
    this.deletedable = deletedable;
  }

  public String getContent() {
    return content;
  }

  public void setContent(String content) {
    this.content = content;
  }

  public Set<String> getTagnames() {
    return tagnames;
  }

  public void setTagnames(Set<String> tagnames) {
    this.tagnames = tagnames;
  }

  public List<AbstractUser> getTopFollowusers() {
    return topFollowusers;
  }

  public void setTopFollowusers(List<AbstractUser> topFollowusers) {
    this.topFollowusers = topFollowusers;
  }

  public List<WeedFSFile> getImageFiles() {
    return imageFiles;
  }

  public boolean isDeleted() {
    return deleted;
  }

  public void setDeleted(boolean deleted) {
    this.deleted = deleted;
  }

}
